#include "KeyboardEvent.hpp"
#include <iostream>

extern "C" 
{
    #include <SDL/SDL.h>
}

const std::string KeyboardEvent::KEY_UP = "keyUp";
const std::string KeyboardEvent::KEY_DOWN = "keyDown";

KeyboardEvent::KeyboardEvent(const std::string &type, unsigned int charCodeValue, 
        signed int keyCodeValue, unsigned int keyLocationValue, 
        bool ctrlKeyValue, bool altKeyValue, 
        bool shiftKeyValue, bool controlKeyValue, 
        bool commandKeyValue):
    Event(type), charCode(charCodeValue), keyCode(keyCodeValue), keyLocation(keyLocationValue),
    ctrlKey(ctrlKeyValue), altKey(altKeyValue), shiftKey(shiftKeyValue), controlKey(controlKeyValue),
    commandKey(commandKeyValue) { TRACEIN; TRACEOUT; }

